package com.xhai.common.domain.page;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.HashMap;
import java.util.Map;

/**
 * @author xhai
 * @description 分页查询表单
 * @date 2025/5/24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "分页查询表单")
public class PageQueryForm {
    /**
     * 页码
     */
    @Schema(description = "页码")
    private Long currentPage;

    /**
     * 页大小
     */
    @Schema(description = "页大小")
    private Long pageSize;

    /**
     * 排序列和排序方向
     */
    @Schema(description = "排序列和排序方向")
    private Map<String, String> orderByColumnMap = new HashMap<>();
}